package org.example.demosystem.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//有参构造
public class EnvironmentalData {
    private Long id;
    private Double temperature;
    private Double humidity;
    private LocalDateTime timestamp;
}
